projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
575b068
)
Better warning suppression in rx-tests
author
Mattias Engdegård
<mattiase@acm.org>
Mon, 9 Nov 2020 17:05:08 +0000
(18:05 +0100)
committer
Mattias Engdegård
<mattiase@acm.org>
Mon, 9 Nov 2020 17:05:08 +0000
(18:05 +0100)
* test/lisp/emacs-lisp/rx-tests.el (rx-compat): Use with-no-warnings
instead of with-suppressed-warnings which complains when running
the test interactively.
test/lisp/emacs-lisp/rx-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/emacs-lisp/rx-tests.el
b/test/lisp/emacs-lisp/rx-tests.el
index 91b0884d4a941f34f33a27c6b45aa061e96b5b66..d2e11cf06aa6b49d7c3ef1bee1c9a51df9acad4d 100644
(file)
--- a/
test/lisp/emacs-lisp/rx-tests.el
+++ b/
test/lisp/emacs-lisp/rx-tests.el
@@
-544,7
+544,7
@@
(ert-deftest rx-compat ()
"Test old symbol retained for compatibility (bug#37517)."
(should (equal
- (with-
suppressed-warnings ((obsolete rx-submatch-n))
+ (with-
no-warnings
(rx-submatch-n '(group-n 3 (+ nonl) eol)))
"\\(?3:.+$\\)")))